﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
namespace MG.HomeO2O.Model 
{/// <summary>
    /// 订单表
    /// </summary>
    public class Order
    {
         [Key]
        /// <summary>
        /// 预约编号
        /// </summary>
        public int Oid { get; set; }
        /// <summary>
        /// 预约姓名
        /// </summary>
        public string OName { get; set; }
        /// <summary>
        /// 预约电话
        /// </summary>
        public string OPhone { get; set; }
        /// <summary>
        /// 预约地址
        /// </summary>
        public string Oaddr { get; set; }
        /// <summary>
        /// 预约要求
        /// </summary>
        public string Odemand { get; set; }
        /// <summary>
        /// 类型编号
        /// </summary>
        public int Tid { get; set; }
        public virtual Type Type { get; set; }
        /// <summary>
        /// 预约时间
        /// </summary>

        public DateTime Otime { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>

        public int Ostate { get; set; }

    

    }
}
